import request from '../utils/request'

//编辑列表
export function productList(data) {
  return request({
    url: '/base/product_list',
    method: 'post',
    data
  })
}

//单位列表
export function unitList(data) {
  return request({
    url: '/base/unit_list',
    method: 'post',
    data
  })
}

//产品新建编辑
export function productHandle(data) {
  return request({
    url: '/base/product_handle',
    method: 'post',
    data
  })
}